<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="jquery.js"></script>
	</head>
	<body>
		<table style="border-collapse:collapse " border="1" cellpadding="5" width="100%";>
			<tr><td>1</td></tr>
			<tr><td>2</td></tr>
			<tr><td>3</td></tr>
			<tr><td>4</td></tr>
			<tr><td>5</td></tr>
			<tr><td>6</td></tr>
			<tr><td>7</td></tr>
			<tr><td>8</td></tr>
		</table>
	</body>
	<script>
		$("tr:even").css("background","red");
	</script>
</html>
